const mockQuery = {
  code: 'ok',
  message: '',
  data: {
    list: [
      {
        key: '1',
        id: 1,
        type: '货运险',
        insured: '刘一鸣',
        insuredAmount: '985742CNY',
        insuranceCharge: '948CNY',
        contactor: '刘曾荣',
        email: 'xx@qq.com',
        mobile: '15521348845',
        status: '投保中',
        creator: '刘曾荣',
        creatTime: '2019-09-20',
        updator: '刘亦菲',
        updateTime: '2019-09-20',
      },
    ],
    pagination: {
      currency: 1,
      total: 20,
      pageSize: 20,
    },
  },
};

const mockCreate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockUpdate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockRemove = {
  code: 'ok',
  message: '',
  data: {},
};

export default {
  'GET /api/insurance/query': mockQuery,
  'POST /api/insurance/create': mockCreate,
  'POST /api/insurance/update': mockUpdate,
  'POST /api/insurance/remove': mockRemove,
};
